 //覆盖一些element-ui样式
.block-checkbox {
  display: block;
}

.operation-container {
  .cell {
    padding: 10px !important;
  }
  .el-button {
    &:nth-child(3) {
      margin-top: 10px;
      margin-left: 0px;
    }
    &:nth-child(4) {
      margin-top: 10px;
    }
  }
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 8px;
  }
}

.small-padding {
  .cell {
    padding-left: 8px;
    padding-right: 8px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;
    .el-tag {
      margin-right: 0px;
    }
  }
}

//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}


//文章页textarea修改样式
.article-textarea {
  textarea {
    padding-right: 40px;
    resize: none;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #bfcbd9;
  }
}

//element ui upload
.upload-container {
  .el-upload {
    width: 100%;
    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}
.el-row--flex.is-justify-center {
  text-align: center;
}

.el-message-box{
  .el-message-box__content{
      padding:20px 0px 30px;
      .el-message-box__message {
          p {
            padding:0px 36px;
              font-size: 16px;
              color: #333;
              text-align: center;
              word-break: break-all;
              white-space: normal;
          }
      }
      .el-message-box__status {
          position: absolute;
          margin-left: 20px;
          top: 30px;
          transform: translateY(-50%);
          font-size: 36px !important;
      }
  }
  .el-message-box__btns {
      text-align: center;
      padding-bottom:30px;
  }
}
.el-message-box__header{
     text-align: center;
}

.el-dialog--tiny {
  min-width: 500px;
  .dialog-title {
    text-align: center;
    line-height: 1;
    font-size: 16px;
    font-weight: 700;
    color: rgb(61, 41, 31);
    position: relative;
    top: -26px;
  }
  .el-dialog__header {
    text-align: center;
  }
  .el-dialog__footer {
    .dialog-footer {
        display: inline-block;
        width: 100%;
        text-align: center;
        padding-bottom: 15px;
      
    }
  }
  .font-style-color{
    font-size:14px;
    color:#37a1fb;
    a{
      display: inline-block;
      padding-top:20px;
    }
  }
  .el-upload-text{
    color:#ccc !important;
    margin-top:1px
  }
  .chose {
    display: inline-block;
    height: 36px;
    line-height: 36px;
    color: rgb(255, 126, 86);
  }
}

.el-dialog--small {
  min-width: 660px;
}
.addOpenTime{
  .el-dialog--small {
    width: 650px;
  }
}
.el-popover {
  background: #ff5e2c;
  border: 1px solid #ff5e2c;
  color: #fff;
  min-width: 20px;
  padding: 3px 10px;
}
.el-popover[x-placement^="top"] .popper__arrow {
  left: 20px !important;
}
.el-popover[x-placement^="top"] .popper__arrow::after {
  border-top-color: #ff5e2c;
}
.el-popover[x-placement^="bottom"] .popper__arrow::after {
    border-bottom-color: #ff5e2c;
}

.el-time-spinner__item:hover:not(.disabled):not(.active) {
  background: transparent;
}

// 公共样式修改
.el-table__expanded-cell{
  padding: 0;
}
// input框加投影
.el-input__inner{
  border: none;
  box-shadow:  0px 0px 5px 0px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow:  0px 0px 5px 0px rgba(0, 0, 0, 0.3);
}
// 表格的cell边距修改
.el-table {
  color: #333; // 表格字体颜色设置为#333 by cuihd 20180122 
  .cell{
    // padding-left: 10px;
    // padding-right: 10px;
    line-height: 18px; //行高设置为18px by cuihd 20180122
    padding: 6px 10px;
  }
}

.el-button--primary{ // 按钮默认最小宽度88px by cuihd 20180123
  min-width: 88px;
}
.el-button--default{ // 按钮默认最小宽度88px by cuihd 20180123
  min-width: 88px;
}

// label的颜色 
.el-form-item__label{
  color: #666;
} 
//checkBox的border
.el-checkbox__inner{
  border: 1px solid #ccc;
}
//radio的border
.el-radio__inner{
  border: 1px solid #ccc;
}
//textarea加投影
.el-textarea__inner{
  border: none;
  box-shadow:  0px 0px 5px 0px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow:  0px 0px 5px 0px rgba(0, 0, 0, 0.3);
}
// 最多上传n张图片后的，隐藏图片的继续添加按钮框
.upload-image-max{
 .el-upload--picture-card{
   display: none;
 }
}
// 下拉选择字体颜色
.el-select-dropdown__item.selected{
  color: $primary;
}
.el-dialog__header {
  text-align: center;
}

// 空中课堂回复框
.reply-comment-content{
  .el-form-item__label{
    line-height:5px;
  }
  .el-form-item__content{
    line-height:4px;
  }
}

.comment-list .el-table__row td:nth-of-type(5) .cell span,.comment-list .el-table__row td:nth-of-type(3) .cell span{
  text-overflow:ellipsis;
  overflow:hidden;
  white-space:nowrap; 
}

.el-autocomplete-suggestion__list{
  .remoteMethodScy{
    color:#999;
    text-align: center;
    cursor: default;
    &:hover{
      background-color: #fff;
      cursor: default;
    }
  }
}

.el-pagination__editor {//分页的前往处的宽度scy
  width: 60px;
}

// .el-form-item__content{
//   margin-left:0;
// }
.el-step__head.is-text.is-success {//步骤1234这样的样式
  color: #fff;
  background-color: $primary;
  border-color: $primary;
}
.el-step__title.is-success {
  font-weight: 700;
  color: $primary;
}

//Tree 树形控件外边框border修改
.el-tree {
  // border: 1px solid #ebebeb;
  border: 0;
}
//Tree 树形控件hover时颜色修改
.el-tree-node__content:hover{
  background: #ebebeb;
}
//Tree 树形控件前面小三角颜色修改
.el-tree-node__expand-icon{
  border-left-color:#ccc;
}
.el-dialog{
  img{
    max-width: 100%;
    max-height: 600px;
  }
}
.table-no-element-style{//该样式 是去掉input的边框样式 table-no-element-style这个下面的inpu就没有原来的边框样式了
  .el-input__inner {
    border: none;
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.3) !important;
    -webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.3) !important;
  } 
}